package com.example.poverty.entity;

import java.io.Serializable;

public class Village implements Serializable {
    //主键
    private Integer id;
    //村镇id
    private Integer townsId;
    //户主姓名
    private String name;
    //家庭类别
    private Byte familyCategory;
    //电话
    private String phone;
    //住房情况
    private String housingSituation;
    //家庭人数
    private Integer familyNum;
    //是否有重点人员
    private Byte keyPersonnel;
    //    直属乡镇
    private String township;


    public String getTownship() {
        return township;
    }

    public void setTownship(String township) {
        this.township = township;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getTownsId() {
        return townsId;
    }

    public void setTownsId(Integer townsId) {
        this.townsId = townsId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Byte getFamilyCategory() {
        return familyCategory;
    }

    public void setFamilyCategory(Byte familyCategory) {
        this.familyCategory = familyCategory;
    }

    public Byte getKeyPersonnel() {
        return keyPersonnel;
    }

    public void setKeyPersonnel(Byte keyPersonnel) {
        this.keyPersonnel = keyPersonnel;
    }

    public String getHousingSituation() {
        return housingSituation;
    }

    public void setHousingSituation(String housingSituation) {
        this.housingSituation = housingSituation;
    }

    public Integer getFamilyNum() {
        return familyNum;
    }

    public void setFamilyNum(Integer familyNum) {
        this.familyNum = familyNum;
    }


    @Override
    public String toString() {
        return "Village{" +
                "id=" + id +
                ", townsId=" + townsId +
                ", name='" + name + '\'' +
                ", familyCategory=" + familyCategory +
                ", phone='" + phone + '\'' +
                ", housingSituation='" + housingSituation + '\'' +
                ", familyNum=" + familyNum +
                ", keyPersonnel=" + keyPersonnel +
                ", township='" + township + '\'' +
                '}';
    }

}
